package com.weimob.mcloud.wechatwork.customer.service.user.module.dto.sidebar;

import com.weimob.mcloud.wechatwork.customer.service.user.enums.UrlConverTypeEnum;
import com.weimob.saas.mcloud.wechatwork.integration.common.request.CommonDTO;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author yu liu  2021/9/8 13:56
 * Description
 * Version 1.0.0
 **/
@Data
public class CreateUrlDTO extends CommonDTO implements Serializable {

    private static final long serialVersionUID = -2021732403443365598L;

    /** 企微需要的短参参数Dto */
    private CreateShortCodeDTO createShortCodeDTO;

    /** 1 h5Url 4 小程序path */
    private Integer type;

    /** 渠道pid */
    private Long currentVid;

    /** url */
    private String url;

    /** 侧边栏类型 1商品 2优惠券 3订单 */
    private Integer sidebarType;

    /**
     * 是否需要短链
     */
    private Boolean needShortUrl;

    /**
     * 如果需要短链，则需要传递原链类型
     */
    private UrlConverTypeEnum urlConverTypeEnum;
}
